package org.sn.jdish.spring.springboot.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * springboot helloworld
 * 
 * @author snzigod@hotmail.com
 */
@RestController
@RequestMapping("/demo")
public class DemoController {

	@ResponseBody
	@RequestMapping("/helloworld")
	String home() {
		return "Hello World!";
	}

}